Skip to content

Comments

chore: Add descriptions for style API#111

Merged
jkuelz merged 2 commits intomainfrom
jkuelz-core-style-descriptions
Feb 16, 2026
Merged

chore: Add descriptions for style API#111
jkuelz merged 2 commits intomainfrom
jkuelz-core-style-descriptions

Conversation

@jkuelz
Copy link
Member

@jkuelz jkuelz commented Feb 14, 2026

Description

This adds descriptions to style API to be picked up by documenter. We use descriptions in tooling like our website playground and other configurators, this is to prevent them from appearing empty.

How has this been tested?

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@jkuelz jkuelz requested a review from a team as a code owner February 14, 2026 01:06
@jkuelz jkuelz requested review from amanabiy and cansuaa and removed request for a team February 14, 2026 01:06
@codecov
Copy link

codecov bot commented Feb 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.31%. Comparing base (ae48760) to head (c3b886d).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #111   +/-   ##
=======================================
  Coverage   96.31%   96.31%           
=======================================
  Files          30       30           
  Lines         705      705           
  Branches      133      133           
=======================================
  Hits          679      679           
  Misses         26       26           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment on lines 33 to 39
hideAvatar?: boolean;

/**
* An object containing CSS properties to customize the chat bubble's visual appearance.
* @awsuiSystem core
*/
style?: ChatBubbleProps.Style;
Copy link
Member

@amanabiy amanabiy Feb 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where do we expect this to description to be shown?
I noticed our documentation already includes a default style description that links to the style tab (see example).

We are not adding it so far because it is added in the website.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anywhere where we rely on the documenter definitions (website playground prop popover, website API tab, Venue configurator, etc.). It is hardcoded in the website API table, which is fragile because it means it is an exception and we would need to do this everywhere; otherwise it will appear empty, like in the playground popover, for example:

Screenshot 2026-02-16 at 8 36 38 AM

FYI - I've added the same update in the components package.

To your point though, I've added another sentence which links to the style tab so we don't lose the previous API table description.

amanabiy
amanabiy previously approved these changes Feb 16, 2026
@jkuelz jkuelz added this pull request to the merge queue Feb 16, 2026
Merged via the queue into main with commit d77e3ef Feb 16, 2026
47 checks passed
@jkuelz jkuelz deleted the jkuelz-core-style-descriptions branch February 16, 2026 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants